<!DOCTYPE html>
<html lang="en">
  <head>
    <title>TextTableRepresentable Protocol Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset="utf-8">
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
  </head>
  <body>

    <a name="//apple_ref/swift/Protocol/TextTableRepresentable" class="dashAnchor"></a>

    <a title="TextTableRepresentable Protocol Reference"></a>

    <header class="header">
      <p class="header-col header-col--primary">
        <a class="header-link" href="../index.html">
          SwiftyTextTable Docs
        </a>
         (100% documented)
      </p>
    
    
    </header>

    <p class="breadcrumbs">
      <a class="breadcrumb" href="../index.html">SwiftyTextTable Reference</a>
      <img class="carat" src="../img/carat.png" />
      TextTableRepresentable Protocol Reference
    </p>

    <div class="content-wrapper">
      <nav class="navigation">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Extensions.html">Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Extensions/Array.html">Array</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/TextTableRepresentable.html">TextTableRepresentable</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Structs.html">Structs</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/TextTable.html">TextTable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/TextTableColumn.html">TextTableColumn</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">

        <section class="section">
          <div class="section-content">
            <h1>TextTableRepresentable</h1>
              <div class="declaration">
                <div class="language">
                  <pre class="highlight"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">TextTableRepresentable</span></code></pre>

                </div>
              </div>
            <p>A protocol used to create a <code><a href="../Structs/TextTable.html">TextTable</a></code> from an object.</p>

          </div>
        </section>

        <section class="section">
          <div class="section-content">
            <div class="task-group">
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:ZvP15SwiftyTextTable22TextTableRepresentable11tableHeaderGSqSS_"></a>
                    <a name="//apple_ref/swift/Variable/tableHeader" class="dashAnchor"></a>
                    <a class="token" href="#/s:ZvP15SwiftyTextTable22TextTableRepresentable11tableHeaderGSqSS_">tableHeader</a>
                    </code>
                      <span class="declaration-note">
                        Default implementation
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The text table header.</p>

                      </div>
                      <h4>Default Implementation</h4>
                      <div class="default_impl abstract">
                        <p>Returns <code>nil</code>.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">static</span> <span class="k">var</span> <span class="nv">tableHeader</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:ZvP15SwiftyTextTable22TextTableRepresentable13columnHeadersGSaSS_"></a>
                    <a name="//apple_ref/swift/Variable/columnHeaders" class="dashAnchor"></a>
                    <a class="token" href="#/s:ZvP15SwiftyTextTable22TextTableRepresentable13columnHeadersGSaSS_">columnHeaders</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>An array column headers to represent this object&rsquo;s data.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">static</span> <span class="k">var</span> <span class="nv">columnHeaders</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span><span class="p">]</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vP15SwiftyTextTable22TextTableRepresentable11tableValuesGSaPs23CustomStringConvertible__"></a>
                    <a name="//apple_ref/swift/Property/tableValues" class="dashAnchor"></a>
                    <a class="token" href="#/s:vP15SwiftyTextTable22TextTableRepresentable11tableValuesGSaPs23CustomStringConvertible__">tableValues</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The values to render in the text table. Should have the same count as <code><a href="../Protocols/TextTableRepresentable.html#/s:ZvP15SwiftyTextTable22TextTableRepresentable13columnHeadersGSaSS_">columnHeaders</a></code>.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="k">var</span> <span class="nv">tableValues</span><span class="p">:</span> <span class="p">[</span><span class="kt">CustomStringConvertible</span><span class="p">]</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </div>
        </section>

      </article>
    </div>
    <section class="footer">
      <p>&copy; 2017 <a class="link" href="https://github.com/scottrhoyt/SwiftyTextTable" target="_blank" rel="external">Scott Hoyt</a>. All rights reserved. (Last updated: 2017-01-01)</p>
      <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
    </section>
  </body>
</div>
</html>
